package com.wishu.finance.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wishu.finance.domain.TFkBusinessCredit;
import com.wishu.finance.domain.ViewDetailsRequestDto;
import com.wishu.finance.domain.ZJFInformation;
import com.wishu.finance.mapper.TFkBusinessCreditMapper;
import com.wishu.finance.service.TFkBusinessCreditService;
import org.springframework.stereotype.Service;

/**
 * @author 25813
 * @description 针对表【t_fk_business_credit(风控公寓授信主表)】的数据库操作Service实现
 * @createDate 2023-05-08 14:10:44
 */
@Service
public class TFkBusinessCreditServiceImpl extends ServiceImpl<TFkBusinessCreditMapper, TFkBusinessCredit>
        implements TFkBusinessCreditService {

    @Override
    public TFkBusinessCredit queryObjectBusinessId(Long businessId) {
        return baseMapper.queryObjectBusinessId(businessId);
    }

    @Override
    public ZJFInformation findByBusinessAndProductId(ViewDetailsRequestDto viewDetailsRequestDto) {
        ZJFInformation informationList = baseMapper.findByBusinessAndProductId(viewDetailsRequestDto);
        return informationList;
    }
}




